package com.roadmap.entities.ext;

import com.roadmap.common.RdcResourceBundle;
import com.roadmap.entities.Student;

public class StudentExt extends Student {
	
	public StudentExt(Student stu) {
		this.copyValues(stu);
	}

	public String getEduDesc() {
		if (this.getEducationLevel() > 0
				&& this.getEducationLevel() < RdcResourceBundle.Education_Level_Desc_Array.length) {
			return RdcResourceBundle.Education_Level_Desc_Array[this
					.getEducationLevel()];
		}

		return null;
	}

	public String getFeelDesc() {
		if (this.getFeeling() > 0
				&& this.getFeeling() < RdcResourceBundle.Feeling_Desc_Array.length) {
			return RdcResourceBundle.Feeling_Desc_Array[this.getFeeling()];
		}

		return null;
	}
}
